package com.xingxue.entity.vo;



public class ProductVo {
    private int page=1;
    private int rows=10;
    private String sort;
    private String order;
    
    private java.lang.String name;
    
    private java.util.List<java.lang.Integer> categoryId;

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getRows() {
        return rows;
    }

    public void setRows(int rows) {
        this.rows = rows;
    }
    
    public String getSort() {
        return sort;
    }
    
    public void setSort(String sort) {
        this.sort = sort;
    }
    
    public String getOrder() {
        return order;
    }
    
    public void setOrder(String order) {
        this.order = order;
    }
    
    public int getOffset() {
        return rows*(page-1);
    }
    
    public int getLimit() {
        return rows;
    }

    public void setName(java.lang.String name){
        this.name=name;
    }
    public java.lang.String getName(){
        return this.name;
    }
    public void setCategoryId(java.util.List<java.lang.Integer> categoryId){
        this.categoryId=categoryId;
    }
    public java.util.List<java.lang.Integer> getCategoryId(){
        return this.categoryId;
    }
    
}